package com.api.shopapi.service;

import com.api.shopapi.entity.UserLonLat;
import com.github.pagehelper.PageInfo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.util.Date;
import java.util.List;

public interface UserLonLatService {

    int insert(UserLonLat userLonLat);

    int update(UserLonLat userLonLat);

    int delete(String userLonLatCode);

    UserLonLat getByUserLonLatCode(String userLonLatCode);

    UserLonLat getByUserCode(String userCode);

    List<UserLonLat> getList();

    List<UserLonLat> getListBySpanTime(String userCode, Date startTime, Date endTime);

    List<UserLonLat> getListAfterTime(String userCode, Date lastTime);

    PageInfo<UserLonLat> getPageList(int pageIndex,int pageSize);


}
